﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ControlPanel.model
{
    public class Save
    {
        public class saveDeviceMatter
        {
            public string matterStatusJson { get; set; }
            public string deviceStatusJson { get; set; }
            public string deviceId { get; set; } = "3";
        }
        public class CoffeeMatters
        {
            private static CoffeeMatters instance;
            private CoffeeMatters() { }

            public static CoffeeMatters Instance
            {
                get
                {
                    if (instance == null)
                    {
                        instance = new CoffeeMatters();
                    }
                    return instance;
                }
            }
            /// <summary>
            /// 奶茶1物料
            /// </summary>
            public int NCMatter1001 { get; set; } = 1;
            /// <summary>
            /// 奶茶2物料
            /// </summary>
            public int NCMatter1002 { get; set; } = 1;
            /// <summary>
            /// 奶茶3物料
            /// </summary>
            public int NCMatter1003 { get; set; } = 1;
            /// <summary>
            /// 奶茶4物料
            /// </summary>
            public int NCMatter1004 { get; set; } = 1;
            /// <summary>
            /// 奶茶5物料
            /// </summary>
            public int NCMatter1005 { get; set; } = 1;
            /// <summary>
            /// 奶茶6物料
            /// </summary>
            public int NCMatter1006 { get; set; } = 1;
            /// <summary>
            /// 果酱1
            /// </summary>
            public int BQLMatter1011 { get; set; } = 1;
            /// <summary>
            /// 果酱2
            /// </summary>
            public int BQLMatter1012 { get; set; } = 1;
            /// <summary>
            /// 果酱3
            /// </summary>
            public int BQLMatter1013 { get; set; } = 1;
            /// <summary>
            /// 果碎
            /// </summary>
            public int BQLMatter1014 { get; set; } = 1;
            /// <summary>
            /// 果仁
            /// </summary>
            public int BQLMatter1015 { get; set; } = 1;
            /// <summary>
            /// 咖啡奶
            /// </summary>
            public int CoffeMatter10 { get; set; } = 1;
            /// <summary>
            /// 咖啡豆
            /// </summary>
            public int CoffeMatter11 { get; set; } = 1;
            /// <summary>
            /// 水
            /// </summary>
            public int CoffeMatter2 { get; set; } = 1;
        }
        public class deviceStatus
        {
            private static deviceStatus instance;
            private deviceStatus() { }

            public static deviceStatus Instance
            {
                get
                {
                    if (instance == null)
                    {
                        instance = new deviceStatus();
                    }
                    return instance;
                }
            }
            public int deviceStatus1 { get; set; } = 1;
            public int deviceStatus2 { get; set; } = 1;
            public int deviceStatus3 { get; set; } = 1;
            public int deviceStatus4 { get; set; } = 1;
            public int lhStatus { get; set; } = 1;
        }
    }
}
